adTempus API
ArcanaDevelopment.adTempus.Shared Namespace / RangeList<T> Class / Contains Method / Contains(T) Method
The value to compare to the ranges


In This Topic
    Contains(T) Method
    In This Topic
    Indicates whether the value meets the rules for any range in the collection.
    Syntax
    'Declaration
     
    
    Public Overloads Function Contains( _
       ByVal value As T _
    ) As Boolean
    public bool Contains( 
       T value
    )
    public:
    bool Contains( 
       T^ value
    ) 

    Parameters

    value
    The value to compare to the ranges
    Remarks
    This operation returns true as soon as value satisfies the rules for a range in the collection. A range with Negate set to true that conflicts with a non-Negated range does not exclude values that match both. For example if the collection contains a range for 1-5 and another range for !3-8, Contains will return true for a value 4 (and for any other number <=5 or >8).
    See Also